package com.fram.mapper;

import java.util.List;

import com.fram.bean.admin.projectplanttechnology.request.ProjectPlantTechnologyAdminSearchRequest;
import com.fram.bean.admin.projectplanttechnology.response.ProjectPlantTechnologyAdminSearchResponse;
import com.fram.bean.api.projectplanttechnology.request.ProjectplanttechnologySearchRequest;
import com.fram.bean.api.projectplanttechnology.response.ProjectplanttechnologyDetail;
import com.fram.bean.api.projectplanttechnology.response.ProjectplanttechnologySearchResponse;
import com.fram.entity.ProjectPlantTechnology;

public interface ProjectPlantTechnologyMapper {

	int deleteByPrimaryKey(Long id);

	int insert(ProjectPlantTechnology record);

	int insertSelective(ProjectPlantTechnology record);

	ProjectPlantTechnology selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(ProjectPlantTechnology record);

	int updateByPrimaryKey(ProjectPlantTechnology record);

	/** 前端查询素材 */
	List<ProjectplanttechnologySearchResponse> search(ProjectplanttechnologySearchRequest request);

	/** 查询详情 **/
	ProjectplanttechnologyDetail detail(Long id);

	/** 后端查询素材 */
	List<ProjectPlantTechnologyAdminSearchResponse> seachAdmin(ProjectPlantTechnologyAdminSearchRequest request);

}